package com.lifeonwalden.game.mindustry.feature;

import com.lifeonwalden.game.mindustry.entity.Bullet;
import com.lifeonwalden.game.mindustry.entity.Surface;

import java.util.Optional;

public interface Cannon {
    Optional<Bullet> shoot(short targetX, short targetY);

    default Optional<Surface> scan() {
        return Optional.empty();
    }
}
